﻿import request from '../index.js';

function getAllQuery(data) {
    return request({ url: `/DataImport/DoPager`, method: 'post', data: data })
}

function importData(params) {
    return request({ url: `/DataImport/ExeImportData`, method: 'get', params: params })
}
function deleteData(params) {
    return request({ url: `/DataImport/delete/` + params, method: 'delete' })
}
export default {
    getAllQuery,
    importData,
    deleteData
}